package com.platform.modules.sms.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 短信模板枚举
 */
@Getter
public enum SmsChannelEnum {

    /**
     * 验证码-00
     */
    LTX_CODE("ltx", "乐淘讯"),
    WPJ_CODE("wpj", "唯品记"),
    ;
    @EnumValue
    @JsonValue
    private String code;
    private String info;

    SmsChannelEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

}
